#lang-toggle {
    background: linear-gradient(45deg, #4f1919, #ff3333);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#lang-toggle:hover {
    background: linear-gradient(45deg, #ff4444, #ff6666);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#lang-toggle:active {
    transform: scale(0.97);
}




body {
    background-image: url('kreuzz.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-left: 50px;
    padding-right: 50px;
}

a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    width: 200px;
    height: auto;
    display: flex;
    justify-content: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.haupt-titel {

    margin-top: -10%;
    color: #250902;
    text-align: center;
}
/* Deutsch */
html[lang="de"] .haupt-titel {
    font-family: "Momo Signature", cursive;
}

/* Arabisch */
html[lang="ar"] .haupt-titel {
    font-family: "Cairo", "Amiri", sans-serif;
    direction: rtl;
}

nav {
    position: relative;
    justify-content: space-between;
    box-shadow: 7px 4px 4px gray;
    top: -25px;
    width: 524px;
    height: 50px;
    background: #737171;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    position: relative;
    display: inline-block;
    font-size: 1em;
    font-weight: 500;
    color: #eee;
    text-decoration: none;
    padding: 0 30px;
    z-index: 1;
}

nav span {

    position: absolute;
    top: 0;
    left: 0;
    width: 95px;
    height: 100%;
    background: linear-gradient(45deg, #4f1919, #ff3333);
    /* Rot/Dunkelrot Gradient */
    border-radius: 8px;
    transition: .5s;
}

/* Hover-Effekte für die Navigation */
nav.info a:nth-child(1):hover~span {
    left: 0;
}

nav.info a:nth-child(2):hover~span {
    left: 95px;
}

nav.info a:nth-child(3):hover~span {
    left: 189px;
    width: 110px;
}

nav.info a:nth-child(4):hover~span {
    left: 289px;
    width: 115px;
}

nav.info a:nth-child(5):hover~span {
    left: 413px;
    width: 110px;
}





.gesellschaftliche-verantwortung-container {

    text-align: center;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
    padding: 2%;
    padding-left: 10%;
    padding-right: 10%;
}

.gesellschaftliche-verantwortung-container h2 {

    font-family: 'Georgia', serif;
    color: #38040e;
    padding-bottom: 10px;
    margin-top: 0;
    border-bottom: 3px solid #38040e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.gesellschaftliche-verantwortung-container h3 {

    color: #640d14;

}

.gesellschaftliche-verantwortung-container p {
    margin-bottom: 15px;
    text-align: justify;
}

.gesellschaftliche-verantwortung-container ul {
    list-style-type: none;
    padding-left: 0;
}

.gesellschaftliche-verantwortung-container ul li {
    padding-left: 0;
    margin-bottom: 12px;
    background: transparent;
    backdrop-filter: blur(10px);
    font-size: x-large;
    font-weight: bold;
    padding: 2%;
    padding-left: 10%;
    padding-right: 10%;
    padding: 10px;
    border-radius: 4px;
}

.gesellschaftliche-verantwortung-container ul li::before {

    content: "•";
    color: #640d14;
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: 0;
}



footer {
    background: #737171;
    padding-top: 50px;
    margin-bottom: 0;
    margin-left: -50px;
    margin-right: -50px;
    border-radius: 50% 50% 0 0 / 100px 100px 0 0;
}

.container {
    max-width: 1140px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-content {
    width: 33.3%;
}

.footer-content h3 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    color: white;
}

.footer-content p {
    width: 190px;
    margin: auto;
    padding: 7px;
    color: #eee;
    font-size: 1em;
    font-weight: normal;
}

.footer-content ul {
    text-align: center;
    padding: 0;
}

.list li {
    width: auto;
    list-style-type: none;
    padding: 7px;
    position: relative;
    text-align: center;
}


.footer-content a:hover {
    color: #f18930;
}

.footer-content a::before {
    content: '';
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: #f18930;
    transition: width .5s ease;
}

.footer-content a:hover::before {
    width: 70px;
}


.social-icons i {
    color: white;

}

.social-icons li {
    display: block;
    text-align: center;
    padding: 5px;
    position: relative;
    margin: 5px 0;
}

.social-icons a {
    color: #eee;
}

.social-icons a:hover {
    color: #f18930;
}

.social-icons a::before {
    display: none;
}

.bottom-bar {
    background: #f18930;
    text-align: center;
    padding: 10px 0;
    margin-top: 50px;
}

.bottom-bar p {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    padding: 7px;
}

.footer-content a::before {
    content: '';
    position: absolute;

    transform: translateX(-50%);
    left: 50%;
    top: 100%;

    width: 0;
    height: 2px;
    background: #f18930;
    transition: width .5s ease;
}


body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] .bar {
    flex-direction: row-reverse;
}


body[dir="rtl"] nav.info {
    flex-direction: row-reverse;
    justify-content: center;
}

body[dir="rtl"] nav span {
    left: 0;
    /* Start jetzt links */
    right: auto;
}

body[dir="rtl"] nav a:nth-child(1):hover~span {
    left: 0;
    width: 110px;
}

body[dir="rtl"] nav a:nth-child(2):hover~span {
    left: 95px;
    width: 115px;
}

body[dir="rtl"] nav a:nth-child(3):hover~span {
    left: 189px;
    width: 110px;
}

body[dir="rtl"] nav a:nth-child(4):hover~span {
    left: 289px;
}

body[dir="rtl"] nav a:nth-child(5):hover~span {
    left: 413px;
}




body[dir="rtl"] .gesellschaftliche-verantwortung-container h3 {
    text-align: center;
    padding-left: 0;
    padding-right: 10px;
}

body[dir="rtl"] .gesellschaftliche-verantwortung-container ul li {
    padding-left: 0;
    padding-right: 1.5em;
    text-indent: -1.5em;
    list-style-type: none;
}

body[dir="rtl"] .gesellschaftliche-verantwortung-container ul li::before {
    margin-right: 0;
    margin-left: 0;
   
}


[dir="rtl"] #lang-toggle {
    float: left;
}





@media (max-width: 750px) {

    #lang-toggle {
        float: none !important;
        margin: 10px auto 20px auto !important;
        display: block;
        text-align: center;
    }

    [dir="rtl"] #lang-toggle {
        float: none !important;
        margin: 10px auto 20px auto !important;
        display: block;
        text-align: center;
    }



    body {
        padding-left: 10px;
        padding-right: 10px;
    }

    .bar {
        flex-direction: column;
        gap: 10px;
        padding-top: 10px;
    }

    .logo {
        width: 100%;
        max-width: 120px;
        margin: 0 auto;
    }

    .haupt-titel {
        flex-grow: 0;
        width: 100%;
        padding-top: 30px;
        margin-top: 0;
      
    }

  
    nav {
       position: static;
        width: 100%;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    nav a {
        padding: 8px 5px;
        flex-grow: 1;
        font-size: 0.9em;
        text-align: center;
    }

    nav span {
        display: none;
    }


 
    .gesellschaftliche-verantwortung-container {
        padding-left: 5%;
        padding-right: 5%;
        font-size: 1.1em;
    }

    .gesellschaftliche-verantwortung-container h3 {
        text-align: center;
        /* Zentrierte h3 auf Mobilgeräten */
    }

    /* Footer im mobilen Modus */
    footer {
        margin-left: 0;
        margin-right: 0;
        border-radius: 50px 50px 0 0;
    }

    .container {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .footer-content {
        width: 100%;
        text-align: center;
    }

    .footer-content p {
        width: auto;
    }
}